Change to std=c++0x to make gcc 4.7 happy
Add mouse support for changing pages