Cleans up layout