Added sidebar to stock page

provides interface for recording purchases. also cleaned up portfolios
page