Don't allow horizontal resize if original css was set to vertical