update viewport bounds for responsive layout