It's hard to suggest something without seeing the code and generally design in question. Perhaps if you could attach it, we'd be able to help.