added mobile functionality for home page