Have you seen the kind of magnetic ledges that have cups attached? maybe something like that could help.