Removing fixed height in devices