+
diff --git a/experiments/photos/photos.css b/experiments/photos/photos.css
index 824e5915..08047a41 100644
--- a/experiments/photos/photos.css
+++ b/experiments/photos/photos.css
@@ -1 +1,2 @@
-#photoview img { width: 100%; }
\ No newline at end of file
+.photoview .ui-content { padding: 0; }
+.photoview img { width: 100%; }
\ No newline at end of file
diff --git a/experiments/photos/photos.js b/experiments/photos/photos.js
index f7d8dab9..0cfcf013 100644
--- a/experiments/photos/photos.js
+++ b/experiments/photos/photos.js
@@ -1,23 +1,21 @@
-$(function(){
- $('.photoview')
- .live('swipeleft',function(){
- $(this).find('a').ajaxClick();
- })
- .live('swiperight',function(){
- $(this).next().find('a:contains(Prev)').ajaxClick();
- });
- $('.photoview a').click(function(){
- event.stopImmediatePropagation();
- })
- .tap(function(event){
- $(this).ajaxClick();
- event.stopImmediatePropagation();
- })
- .taphold(function(event){
- $.fixedToolbars.toggle();
- event.stopImmediatePropagation();
- })
-
- }
-});
+
+$('.photoview')
+ .live('pagebeforehide',function(){
+ $.fixedToolbars.hide(true);
+ })
+ .live('pageshow',function(){
+ $.fixedToolbars.show();
+ })
+ .live('swipeleft',function(){
+ $(this).find('a.next').click();
+ })
+ .live('swiperight',function(){
+ $(this).next().find('a.prev').click();
+ });
+
+$('.photoview img').live('mousedown touchstart',function(event){
+ event.preventDefault();
+})
+
+