9: Reimplemented slide using MarginLayout to better support API 10.