fixed some issues with responsiveness