iOS 7 compatibilty for the sales view