better behavior for mobile devices