adds classes to control phonegap perspective