Updated Tablet flip class