updates to fix the responsive mode