Make view rotating and decrease memory usage