Attempt at rotating graphics in gui