Changed to PDO.
Implement the navbar animation.

Signed-off-by: moose51789 <moose51789@gmail.com>